#include "iostream"

using namespace std;

void run() {
    int num;
    cin >> num;
    for (int i = 0; i < num; ++i) {
        long long A, B, C;
        cin >> A >> B >> C;
        if ((A + B) > C) {
            cout << "Case #" << i + 1 << ": true" << endl;
        } else {
            cout << "Case #" << i + 1 << ": false" << endl;
        }
    }
}

int main() {
    run();
    return 0;
}
